﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Mt.Site.Core.WorkFlows.Design
{
    public interface IWorkFlowFactory
    {
        Task<IWorkflowDefinition> GetWorkflowDefinitionAsync(Guid worflowId);

        Task<List<IWorkflowDefinition>> GetAllWorkFlowDefinitionAsync();
    }
}
